package com.neusoft.gene.nep.role.service;

import com.neusoft.gene.nep.entity.CommonResult;
import com.neusoft.gene.nep.role.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: TODO   角色表 服务类
 * @author: 君醉
 * @date: 2024/6/19 16:13
*/

public interface IRolesService extends IService<Roles> {

    CommonResult<List<Roles>> listAll();

    CommonResult modRoleByid(Roles roles);

    CommonResult addRole(Roles roles);

    CommonResult modRole(Roles roles);

    CommonResult selectSysnodesByRid(Integer rid);

    CommonResult modRoleAuth(Integer rid, List<Integer> sysnodeids);

    CommonResult selectMenuByRoleid(Integer roleid);
}
